import { Injectable } from '@nestjs/common';

@Injectable()
export class DbService {
    constructor(private readonly options:Record<string,any>){}
    public connect(){
        return `
            <div>
                <h1 style="background:red">链接数据库</h1>
                <p>${this.options.url}</p>
                <p>${this.options.port}</p>
                <p>${this.options.username}</p>
                <p>${this.options.password}</p>
            </div>
        `
    }
}
